package org.nokatag.system;

import javax.servlet.Filter;
/**
 * 外部拦截器实体类
 * @author rebin
 *
 */
public class NFilter{
	private String sfilter = null;
	private String urlPattern = null;
	private Filter filter = null;
	
	public NFilter(String sfilter,String urlPattern,Filter filter){
		this.sfilter = sfilter;
		this.urlPattern = urlPattern;
		this.filter = filter;
	}
	
	public NFilter(String sfilter,String urlPattern){
		this.sfilter = sfilter;
		this.urlPattern = urlPattern;
		this.filter = null;
	}
	
	public String getSfilter() {
		return sfilter;
	}
	public void setSfilter(String sfilter) {
		this.sfilter = sfilter;
	}
	public String getUrlPattern() {
		return urlPattern;
	}
	public void setUrlPattern(String urlPattern) {
		this.urlPattern = urlPattern;
	}
	public Filter getFilter() {
		return filter;
	}
	public void setFilte(Filter filter) {
		this.filter = filter;
	}
}
